WP_Defender\Component\Two_Factor\Providers\Totp S

Total Complexity 41
Dependencies 6
Dependents 3
Total lines 352
Lines of code 178
Logical lines of code 89
Comment lines 91
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
get_2fa_key_by()
S
59 6 13
remove_2fa_line_by()
S
57 5 15
user_options()
S
50 4 29
init_provider()
S
61 4 12
get_user_secret()
S
58 3 16
validate_authentication()
S
60 3 13
generate_otp()
S
54 2 18
get_2fa_keys()
S
64 3 10
remove_2fa_line()
S
69 1 6
add_2fa_line()
S
74 1 4
__construct()
S
74 1 4
is_available_for_user()
S
78 1 3
get_label()
S
78 1 3
get_auth_apps()
S
69 1 7
authentication_form()
S
68 1 8
get_description()
S
82 1 3
get_user_label()
S
79 1 3
get_login_label()
S
79 1 3
generate_qr_code()
S
64 1 8